package com.dwxt.cdms.entity.vo;

import com.dwxt.cdms.entity.LbWatchWarn;
import com.dwxt.cdms.util.DictUtil;

public class LbWatchWarnVO extends LbWatchWarn {
    private Integer customerType;

    private Integer serviceType;

    private String theOldType;

    private String name;

    private String phone;

    private Integer sex;

    private Integer stationId;

    public Integer getStationId() {
        return stationId;
    }

    public void setStationId(Integer stationId) {
        this.stationId = stationId;
    }

    public String getSex() {
        if (sex == null) {
            return null;
        } else {
            return sex == 0 ? "女" : "男";
        }
    }

    public String getServiceTypeDisplay() {
        return serviceType == null ? null : DictUtil.getDisplay("serviceType", serviceType.toString());
    }

    public Integer getCustomerType() {
        return customerType;
    }

    public void setCustomerType(Integer customerType) {
        this.customerType = customerType;
    }

    public Integer getServiceType() {
        return serviceType;
    }

    public void setServiceType(Integer serviceType) {
        this.serviceType = serviceType;
    }

    public String getTheOldType() {
        return theOldType;
    }

    public void setTheOldType(String theOldType) {
        this.theOldType = theOldType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
}
